]> git.r.bdr.sh - rbdr/super-polarity/blobdiff - Super Polarity/Player.cs
I have the worst commits ever.
[rbdr/super-polarity] / Super Polarity / Player.cs
diff --git a/Super Polarity/Player.cs b/Super Polarity/Player.cs
new file mode 100644 (file)
index 0000000..25e66da
--- /dev/null
@@ -0,0 +1,46 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace SuperPolarity
+{
+    public class Player
+    {
+        public int Score;
+        public int Multiplier;
+        public int Lives;
+
+        public Player()
+        {
+            Score = 0;
+            Multiplier = 1;
+            Lives = 3;
+        }
+
+        public void AddScore(int value)
+        {
+            Score = Score + (value * Multiplier);
+        }
+
+        public void AddMultiplier(int value)
+        {
+            Multiplier = Multiplier + 1;
+        }
+
+        public void ResetMultiplier()
+        {
+            Multiplier = 1;
+        }
+
+        public void Draw()
+        {
+
+        }
+
+        public void Update()
+        {
+
+        }
+    }
+}